Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Remove init due to breaking change in pytest 8.2.0 #1589

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tibor-reiss
Copy link
Contributor

@tibor-reiss tibor-reiss commented Oct 22, 2024

Fixes #1575

Breaking change introduced in pytest 8.2.0, see e.g. https://docs.pytest.org/en/stable/changelog.html#breaking-changes

See also this: pytest-dev/pytest#12289 (comment)

Fix is based on pytorch/pytorch@3efaa01

@tibor-reiss tibor-reiss force-pushed the fix-1575-pytest-runTest branch from 2e2afde to 2d55390 Compare October 28, 2024 21:33
@GaetanLepage
Copy link

I can confirm that this patch works great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] test suite fails with ...AttributeError: '<SOME_CLASS>' object has no attribute 'runTest'
2 participants